import QtQuick 2.0

Rectangle{

    color: "#1B262D"
    opacity: 0.5
    height: 100
    width: 1080

    Row{
        spacing: 10
        anchors.verticalCenter: parent.verticalCenter

        WarnIcon{//1
            id: oilInFilterWarnIcon
            iconSource: "qrc:/grader/imgs/warn_light/oil_suction_filter_clogging_alarm.png"
            visible: can_manager.oil_suction_filter_clogging_alarm
        }
        WarnIcon{//2
            id: airFilterWarn
            iconSource: "qrc:/grader/imgs/warn_light/air_filter_clogging_alarm.png"
            visible: can_manager.air_filter_clogging_alarm
        }
        WarnIcon{//3
            id: brakeWarnIcon
            iconSource: "qrc:/grader/imgs/warn_light/stop_signal.png"
            visible: can_manager.stop_signal
        }
        WarnIcon{//4
            id: engineStopIcon
            iconSource: "qrc:/grader/imgs/warn_light/engine_stop.png"
            visible: can_manager.engine_error_red_stop_lamp_statu
        }
        WarnIcon{//5
            id: engineWarnIcon
            iconSource: "qrc:/grader/imgs/warn_light/engine_warn.png"
            visible: can_manager.engine_error_environmental_warning_lamp_statu
        }
        WarnIcon{//6
            id: lubricationWarnIcon
            iconSource: "qrc:/grader/imgs/warn_light/fault_lubrication_centralized_alarm.png"
            visible: can_manager.fault_lubrication_centralized_alarm
        }
        WarnIcon{//7
            id: oilOutFilterWarnIcon
            iconSource: "qrc:/grader/imgs/warn_light/oil_return_filter_clogging_alarm.png"
            visible:can_manager.oil_return_filter_clogging_alarm
        }
        WarnIcon{//8
            id: oilLevelWarnIcon
            iconSource: "qrc:/grader/imgs/warn_light/hydraulic_oil_level_low_alarm_lamp_status.png"
            visible: can_manager.hydraulic_oil_level_low_alarm_lamp_status
        }
        WarnIcon{
            id:oiltempWarnIcon
            iconSource: "qrc:/grader/imgs/warn_light/hydraulic_oil_temperature_high_alarm_lamp.png"
            visible: can_manager.hydraulic_oil_temperature_high_alarm_lamp
        }
        WarnIcon{//9
            id: waterLevelWarnIcon
            iconSource: "qrc:/grader/imgs/warn_light/coolant_level_low_warning_light_status.png"
            visible: can_manager.coolant_level_low_warning_light_status
        }
        WarnIcon{//10
            id: offLineWarnIcon
            iconSource: "qrc:/grader/imgs/warn_light/handle_disconnection_alarm.png"
            visible: can_manager.handle_disconnection_alarm
        }
        WarnIcon{//11
            id: canWarnIcon
            iconSource: "qrc:/grader/imgs/warn_light/can_bus_fault_alarm.png"
            visible: can_manager.can_bus_fault_alarm
        }
        move: Transition {
            NumberAnimation { properties: "x,y"; duration: 1000 }
        }
    }

}
